//
//  ZPCustomScrollView.h
//  ZPScrollView
//
//  Created by zkingsoft on 16/1/13.
//  Copyright (c) 2016年 zkingsoft. All rights reserved.
//



#import <UIKit/UIKit.h>

@interface ZPCustomScrollView : UIView<UIScrollViewDelegate>

@property (nonatomic, readonly) UIScrollView *scrollView;// scrollView

@property (nonatomic, readonly) UIPageControl *pageControl;// pageControl

@property (nonatomic, assign) NSInteger currentPage;// 当前页



@property (nonatomic, strong) NSMutableArray *imageViewArray;// 视图 数组


/**
 *  是否开启自动滚动翻页
 *
 *  @param shouldStart BOOL
 */
- (void)shouldAutoShowNextPage:(BOOL)shouldStart;


/**
 *  当点击scrollview的时候调用 该block   ==== 这个和delegate是类似的
 */
@property (nonatomic, copy) void (^TapActionBlock) (NSInteger pageIndex);


@end
